﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dapper.Extensions.Test
{
    public interface IRepository
    {
        T Get<T>(object o) where T : class;

        int Insert<T>(T t) where T : class;

        bool Update<T>(T t) where T : class;

        T Add<T>(T t) where T : class;

        bool Delete<T>(object o) where T : class; 

        IEnumerable<T> GetList<T>(object o) where T : class;
    }
}
